//
//  SignView.h
//  zealcomm4.1Demo
//
//  Created by zealcomm user on 2020/1/10.
//  Copyright © 2020 zealcomm user. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
typedef void(^SaveSuccessBlock)(UIImage *);

@interface SignView : UIView

// 用来设置线条的颜色
@property (nonatomic, strong) UIColor *color;
// 用来设置线条的宽度
@property (nonatomic, assign) CGFloat lineWidth;
// 用来记录已有线条
@property (nonatomic, strong) NSMutableArray *allLines;

// 初始化相关参数
- (void)initDrawingView;
// back操作
- (void)doBack;
// Forward操作
- (void)doForward;
// 保存Image
- (void)saveImage:(SaveSuccessBlock)saveSuccessBlock;

@end

NS_ASSUME_NONNULL_END
